package com.vacation.vacationdemo.vo;

import com.vacation.vacationdemo.entity.Role;

import java.util.Set;

/**
 * @author 杨光
 * @date 2022年03月12日 14:22
 */
public class EmployeeVo {

    private Integer empId;
    private String empNo;
    private String empName;
    private String empPassword;
    private Integer deptId;
    private Integer roleId;


    @Override
    public String toString() {
        return "EmployeeVo{" +
                "empId=" + empId +
                ", empNo='" + empNo + '\'' +
                ", empName='" + empName + '\'' +
                ", empPassword='" + empPassword + '\'' +
                ", deptId=" + deptId +
                ", roleId=" + roleId +
                ", roles=" + roles +
                '}';
    }

    /**
     * 用户对应的角色集合
     */
    private Set<Role> roles;

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getEmpNo() {
        return empNo;
    }

    public void setEmpNo(String empNo) {
        this.empNo = empNo;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getEmpPassword() {
        return empPassword;
    }

    public void setEmpPassword(String empPassword) {
        this.empPassword = empPassword;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Set<Role> getRoles() {
        return roles;
    }

    public void setRoles(Set<Role> roles) {
        this.roles = roles;
    }
}
